import './heading.css'
export default () => {
    const el = document.createElement('h2')
    el.textContent = 'hello webpack'
    el.classList.add('heading')
    el.addEventListener('click', () => {
        alert('111')
        console.log1('1111');
    })

    const input = document.createElement('input')
    document.body.append(input)

    return el
}